#!/usr/bin/env python
# -*-coding:utf-8-*-
# File    : liyuqi.py

import sqlite3

def create_db():
    conn = sqlite3.connect("test.sqlite")
    c = conn.cursor()
    fs = open("FUNDS.sql", encoding="utf-8")
    sql = fs.read()
    c.executescript(sql)
    conn.commit()
    conn.close()


if __name__ == '__main__':
    create_db()